package org.edu.modules.sxjy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @author leidq
 * @create 2022-04-08 11:12
 */
@TableName("ve_base_app_user")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ve_base_app_user对象", description = "用户信息")
public class VeBaseAppUser implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("id")
    private String id;
    @Excel(name = "工号（或学号）", width = 15.0D)
    @ApiModelProperty("用户id")
    private String userId;
    @Excel(name = "密码", width = 15.0D)
    @ApiModelProperty("用户密码")
    private String userPassword;
    @Excel(name = "md5密码盐", width = 15.0D)
    @ApiModelProperty("md5密码盐")
    private String salt;
    @Excel(name = "用户工号", width = 15.0D)
    @ApiModelProperty("用户工号")
    private String userName;
    @Excel(name = "用户名称（姓名）", width = 15.0D)
    @ApiModelProperty("用户姓名")
    private String realName;
    @Excel(name = "返回状态", width = 15.0D)
    @ApiModelProperty("返回状态")
    private String status;
    @Excel(name = "用户类型（js(教师)、xs（学生））", width = 15.0D)
    @ApiModelProperty("用户类别(1老师 2学生)")
    private String userType;
    @Excel(name = "用户登录名(手机号)", width = 15.0D)
    @ApiModelProperty("用户手机号")
    private String userTel;
    @Excel(name = "状态（学生为空，17：招聘；在职：10；退休：01；其他：18）", width = 15.0D)
    @ApiModelProperty("状态（学生为空，0：招聘；1在职：2退休：3其他）")
    private String statusVal;
    @ApiModelProperty("是否删除")
    private String isDel;
    @Excel(name = "numbers", width = 15.0D)
    @ApiModelProperty("numbers")
    private String numbers;
    @Excel(name = "userApp", width = 15.0D)
    @ApiModelProperty("userApp")
    private String userApp;
    @Excel(name = "创建时间", width = 20.0D)
    @ApiModelProperty("创建时间")
    private String createTime;
    @Excel(name = "修改时间", width = 20.0D)
    @ApiModelProperty("修改时间")
    private String updateTime;
    @Excel(name = "头像路径", width = 20.0D)
    @ApiModelProperty("头像路径")
    private String avatarUrl;
    @Excel(name = "密码强度", width = 20.0D)
    @ApiModelProperty("密码强度")
    private String strength;
    @Excel(name = "邮箱", width = 20.0D)
    @ApiModelProperty("邮箱")
    private String email;
    @Excel(name = "生日", width = 20.0D)
    @ApiModelProperty("生日")
    private Date birthday;
    @Excel(name = "学历", width = 20.0D)
    @ApiModelProperty("学历")
    private String education;
    @Excel(name = "学位", width = 20.0D)
    @ApiModelProperty("学位")
    private String degree;
    @Excel(name = "联系地址", width = 20.0D)
    @ApiModelProperty("联系地址")
    private String address;
    @Excel(name = "个性签名", width = 20.0D)
    @ApiModelProperty("个性签名")
    private String signature;
    @Excel(name = "性别", width = 20.0D)
    @ApiModelProperty("性别(0保密, 1男, 2女)")
    private String sex;
    @TableField(exist = false)
    private String oldPwd;
    @TableField(exist = false)
    private String newPwd;
    @TableField(exist = false)
    private String affirmPwd;
    @TableField(exist = false)
    private String roleId;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String deptId;
    @TableField(exist = false)
    private String deptName;
    @TableField(exist = false)
    private String birthdayName;
    @ApiModelProperty("接口用户id")
    @TableField(exist = false)
    private String interfaceUserId;
    @ApiModelProperty("创建企业用户的用户角色id")
    @TableField(exist = false)
    private Integer userRoleId;
}
